﻿@using Abp.MultiTenancy
@using ShellBeckMPA.Web.Areas.Admin.Models.Common.Modals
@using ShellBeckMPA.Web.Views.Shared.Components.TenantChange
@model ChangeModalViewModel
@{
    Layout = null;
}
@Html.Partial("~/Areas/Admin/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("ChangeTenant")))

<div class="modal-body">
    <form name="TenantChangeForm" role="form" novalidate class="form-validation">
        <div class="form-group form-float">
            <div class="form-line">
                <input class="form-control" type="text" name="TenancyName" maxlength="@AbpTenantBase.MaxTenancyNameLength" value="@Model.TenancyName">
                <label class="form-label">@L("TenancyName")</label>
            </div>
        </div>
        <span class="help-block">@L("LeaveEmptyToSwitchToHost")</span>
    </form>
</div>

@Html.Partial("~/Areas/Admin/Views/Shared/Modals/_ModalFooterWithSaveAndCancel.cshtml")

<script src="~/view-resources/Areas/Admin/Views/Shared/Components/TenantChange/_ChangeModal.js" asp-append-version="true"></script>
